﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace tamlytre
{
    public partial class ListNews : System.Web.UI.Page
    {
        public static int idparent = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bool bSuc = Int32.TryParse(Request.QueryString["idparent"], out idparent);
                if (bSuc == true)
                {
                    if (idparent == 1)
                        Response.Redirect("Default.aspx");
                    else
                    {
 
                    }
                }
            }

        }
    }
}